import { createSlice } from "@reduxjs/toolkit";

export const contt = createSlice({
  name: "cont",
  initialState: {
    cont: "北京",
  },
  reducers: {
    setCtyl: (state, action) => {
      state.cont = action.payload;
    },
  },
});

export const { setCtyl } = contt.actions;
